<?php


namespace App\Http\Request\System\Specialist;


use App\Common\Utils\BaseRequest;

class addRequest extends BaseRequest
{

    public function rules() {
        $rules = [
            'user_name' => 'required',
            'name' => 'required',
            'first_passwd' => 'required'
        ];

        return $rules;
    }

    public function messages() {
        $messages = [
            'user_name.required' => '专家账号不能为空',
            'name.required' => '专家账号不能为空',
            'first_passwd.required' => '密码不能为空',
        ];

        return $messages;
    }
}
